package com.service.impl;

import com.entity.DinerGoods;
import com.mapper.DinerGoodsMapper;
import com.service.DinerGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class DinerGoodsServiceImpl implements DinerGoodsService {
    @Autowired
    DinerGoodsMapper dinerGoodsMapper;
    @Override
    public List<DinerGoods> gitDinerGoodsInfo(Integer categoryId) {

        return dinerGoodsMapper.gitDinerGoodsInfo(categoryId);
    }
}
